export const PLATFORM_ENUMS = {
  TC: '同程',
  XC: '携程',
  FZ: '飞猪',
  XC_OFF: '携程 (当地向导)',
  XC_ON: '携程 (路飞)',
  MT: '美团',
  OFF: '线下'
}

export const PLATFORM_OPTIONS = [
  { name: '同程', value: 'TC' },
  { name: '携程', value: 'XC' },
  { name: '飞猪', value: 'FZ' },
  { name: '携程 (当地向导)', value: 'XC_OFF' },
  { name: '携程 (路飞)', value: 'XC_ON' },
  { name: '美团', value: 'MT' },
  { name: '线下', value: 'OFF' }
]

export const CITY_OPTIONS = [
  { label: '苏州', value: '1' },
  { label: '南京', value: '2' },
  { label: '徐州', value: '3' },
  { label: '杭州', value: '4' }
]

export const ORDER_STATUS = {
  unpaid: '未支付',
  cancelled: '已取消',
  leased: '已租借',
  returned: '已归还',
  invalid: '无效单'
}

/**
 * @description: 订单状态
 * @return {*}
 */
export const ORDER_STATUS_OPTIONS = [
  { name: '未归还', value: 'leased' },
  { name: '已归还', value: 'returned' },
  { name: '无效单', value: 'invalid' }
]

/**
 * @description: 收费时长-时间
 * @return {*}
 */
export const DURATION_OPTIONS = [
  { label: '0-0分钟', value: 0 },
  { label: '0-60分钟', value: 1 },
  { label: '60-90分钟', value: 2 },
  { label: '90分钟以上', value: 3 }
]

/**
 * @description: 收费时长-按天
 * @return {*}
 */
export const DAILY_OPTIONS = [
  { label: '0天', value: 10 },
  { label: '1天', value: 11 },
  { label: '2天', value: 12 },
  { label: '3天', value: 13 }
]

/**
 * @description: 退款原因
 * @return {*}
 */
export const REFUND_CAUSES_OPTIONS = [
  '讲解器无电/无声',
  '纯音乐无讲解',
  '部分景点未讲解',
  '租借错误/语音种类',
  '无耳机'
]

/**
 * @description: 发票状态
 * @return {*}
 */
export const INVOICE_STATUS = {
  not_invoiced: '未开票',
  invoiced: '已开票',
  re_invoice_review: '重开审核',
  re_invoice_rejected: '重开驳回',
  re_invoice_failed: '重开失败',
  cancelled: '已退票'
}
